cmake_minimum_required(VERSION 3.4.1)

include_directories(src/main/jni/serial_port)
aux_source_directory(src/main/jni SRC_FILE)

add_library(serial_port SHARED ${SRC_FILE})
find_library(log-lib log)

target_link_libraries(serial_port ${log-lib})